package com.ruoyi.college.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 教研室信息对象 t_research_group
 * 
 * @author ruoyi
 * @date 2025-08-22
 */
public class ResearchGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教研室ID */
    private Long groupId;

    /** 教研室名称 */
    @Excel(name = "教研室名称")
    private String groupName;

    /** 教研室编码 */
    @Excel(name = "教研室编码")
    private String groupCode;

    /** 关联专业id */
    //@Excel(name = "关联专业id")
    private Long majorId;

    /** 关联专业id */
    @Excel(name = "关联专业")
    private String major;

    /** 教研室主任ID */
    //@Excel(name = "教研室主任ID")
    private Long directorId;

    /** 教研室主任ID */
    @Excel(name = "教研室主任")
    private String director;

    /** 教研室描述 */
    @Excel(name = "教研室描述")
    private String description;

    /** 办公地点 */
    @Excel(name = "办公地点")
    private String officeLocation;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contactPhone;

    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }

    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }

    public void setGroupCode(String groupCode) 
    {
        this.groupCode = groupCode;
    }

    public String getGroupCode() 
    {
        return groupCode;
    }

    public void setMajorId(Long majorId) 
    {
        this.majorId = majorId;
    }

    public Long getMajorId() 
    {
        return majorId;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public void setDirectorId(Long directorId)
    {
        this.directorId = directorId;
    }

    public Long getDirectorId() 
    {
        return directorId;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setOfficeLocation(String officeLocation) 
    {
        this.officeLocation = officeLocation;
    }

    public String getOfficeLocation() 
    {
        return officeLocation;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("groupId", getGroupId())
            .append("groupName", getGroupName())
            .append("groupCode", getGroupCode())
            .append("majorId", getMajorId())
            .append("major", getMajor())
            .append("directorId", getDirectorId())
            .append("director", getDirector())
            .append("description", getDescription())
            .append("officeLocation", getOfficeLocation())
            .append("contactPhone", getContactPhone())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
